package com.ytjj.qmyx.supplychain.service;

import com.ytjj.qmyx.supplychain.mapper.UploadOrderJstMapper;
import com.ytjj.qmyx.supplychain.mapper.entity.YxUploadOrderJst;
import org.springframework.stereotype.Service;
import tk.mybatis.mapper.entity.Example;

import javax.annotation.Resource;
import java.util.List;

@Service
public class UploadOrderJstService extends AbstractService<UploadOrderJstMapper, YxUploadOrderJst> {
    @Resource
    private UploadOrderJstMapper uploadOrderJstMapper;

    public int updateStatusByOrderNo(String orderNo, Integer status) {
        return uploadOrderJstMapper.updateOrders(orderNo, status);
    }
}
